#ifndef PROCESSTHREAD_H
#define PROCESSTHREAD_H

#include <QThread>
#include <QProcess>

class ProcessThread : public QThread
{
    Q_OBJECT
public:
    explicit ProcessThread(QObject *parent = nullptr);
    ProcessThread(const QString& program, const QStringList& arguments);
    void run();
private:
    QString m_program;
    QStringList m_arguments;
};

#endif // PROCESSTHREAD_H
